package cn.yili12.server.client.vo;

import cn.yili12.server.client.handler.*;
import lombok.Getter;

@Getter
public enum ClientMessageType {
    Heart("心跳", HeartClientHandler.class),
    Login("登录连接", LoginClientHandler.class),
    Send("发送消息", SendClientHandler.class),
    Read("已读消息", ReadClientHandler.class),
    Input("输入中", InputClientHandler.class);

    private String name;
    private Class handler;

    ClientMessageType(String name, Class handler) {
        this.name = name;
        this.handler = handler;
    }
}
